package com.jvm;

import java.util.LinkedList;
import java.util.List;

public class HelloGC {

    public static void main(String[] args) {
        System.err.println("hello GC");

        List<Object> list = new LinkedList<>();
        for (;;) {
            byte[] object = new byte[1024 * 1024];
            list.add(object);
        }
    }

}